From 32f925190cdb70851aaab2f18c711aeca553f1fe Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Mon, 6 Mar 2006 11:01:43 +0100 Subject: [PATCH] Fix mkelf32 cross compilation support. The previous fix for this was misapplied by me. Signed-off-by: Keir Fraser --- xen/arch/x86/boot/mkelf32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/boot/mkelf32.c b/xen/arch/x86/boot/mkelf32.c index 476a86374d..53cc514295 100644 --- a/xen/arch/x86/boot/mkelf32.c +++ b/xen/arch/x86/boot/mkelf32.c @@ -244,8 +244,8 @@ int main(int argc, char **argv) inimage = argv[1]; outimage = argv[2]; - loadbase = strtoull(argv[3], NULL, 16); - final_exec_addr = strtoul(argv[4], NULL, 16); + loadbase = strtoul(argv[3], NULL, 16); + final_exec_addr = strtoull(argv[4], NULL, 16); infd = open(inimage, O_RDONLY); if ( infd == -1 ) -- 2.30.2